package cn.mymall.vo.menu;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author sky
 * @since 2021-03-11
 */
@Data
public class MenuVo {
    private Integer id;

    private Integer parentId;

    private String menuName;

    private String menuUrl;

    private String icon;

    private String menuType;

    private Integer sortNum;

    private String status;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp addTime;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp modifyTime;

    private List<MenuVo> children;

}
